<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>添加博客</title>
	<script charset="utf-8" src="{ly:$smarty.const.__ROOT__}/Blog/Admin/Org/kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="{ly:$smarty.const.__ROOT__}/Blog/Admin/Org/kindeditor/lang/zh_CN.js"></script>
<script>
        KindEditor.ready(function(K) {
                window.editor = K.create('#editor_id');
        });
</script>
<style type="text/css">
*{padding: 0; margin: 0;}
table{ width: 100%;border-top: 1px solid #aaa;border-left: 1px solid #aaa;background: #FAFAFA;}
td{ border-bottom: 1px solid #aaa;border-right: 1px solid #aaa;}
</style>
<script type="text/javascript">



</script>
</head>
<body>
	<form action="" method="post" enctype='multipart/form-data'>
		<table align="center">
			<tr>
				<td>标题</td>
				<td><input type="title" name="title"></td>
			</tr>
 			<tr>
 				<td>栏目</td>
 				<td>
 					<select name="cid" id="">
 					 {ly:section loop=$categoryDate name=c}
 						<option value="{ly:$categoryDate[c].cid}">
 							{ly:$categoryDate[c].catname}
 						</option>
 					{ly:/section}
 					</select>
 				</td>
 			</tr>
 			<tr>
 				<td>缩略图</td>
 				<td><input type="file" name="thumb"></td>
 			</tr>
			<tr>
				<td>正文</td>
				<td><textarea name="content" id="editor_id"></textarea></td>
			</tr>
			<tr>
				<td>点击数</td>
				<td><input type="title" name="click" value="100"></td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="发表"></td>
			</tr>

		</table>

	</form>
</body>
</html>